package thinkingJava.chapter18;

import java.io.IOException;
import java.io.StringReader;

public class MemoryInput {
	public static void main(String[] args) throws IOException {
		String filename = "D:\\CVSROOT\\JavaSE\\src\\thinkingJava\\chapter18\\MemoryInput.java";
		StringReader sr = new StringReader(BufferedInputFile.read(filename));
		int c;
		while ((c = sr.read()) != -1) {
			System.out.print((char)c);
		}
	}
}
